cat /export/servers/onekey/kafka/slave | while read line
do
{
 echo $line
 ssh $line "source /etc/profile;nohup kafka-server-start.sh $KAFKA_HOME/config/server.properties >/dev/null 2>&1 &"
}&
wait
done 
